export default class UserData {
    constructor({ username, password, type }) {
    this.username = username
    this.password = password
    this.type = type
    }
    getUsername() {
      return this.username
    }
    getPassword() {
      return this.password
    }
    getType() {
      return this.type
    }
    setUsername(username) {
      this.username = username
    }
    setPassword(password) {
      this.password = password
    }
    setType(type) {
      this.type = type
    }
}